Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Missing route

#53

Hi,

I just created a new rails project with restful_authentication. I created a new authentication system with:

./script/generate authenticated users session

and noticed that no route was generated for the 'activate' method of the 'users' controller, which means the default activation URL doesn't work:

"http://YOURSITE/activate/#{users.activation_code}"

Adding this line to routes.rb solves the problem:

map.activate '/activate/:activation_code', :controller => 'users', :action => 'activate'

Hope this helps !

Gaël DEEST

Reported by GaĆ«l Deest · June 8th, 2009 @ 10:05 AM

State: new
Milestone: none
Assigned to: mrflip mrflip

Activity

No comments yet.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.